package com.tamo.ppresta.httpapi;

import com.hjq.http.config.IRequestApi;
import com.tamo.ppresta.constant.API_CONSTANT;

/**
 * @author yeyang
 * @name ppresta
 * @class name：com.tamo.ppresta.httpapi
 * @class describe
 * @time 2022/12/22 20:07
 * @change
 * @chang time
 * @class describe
 */
public class LogOutApi implements IRequestApi {

    @Override
    public String getApi() {
        return API_CONSTANT.APP_LOGOUT;
    }

    private String sessionId;
    private String itemCode;
    /**
     * 语言 中文 CH 西班牙 ESP
     */
    private String languageCode;

    public LogOutApi setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
        return this;
    }

    public LogOutApi setSessionId(String sessionId) {
        this.sessionId = sessionId;
        return this;
    }

    public LogOutApi setItemCode(String itemCode) {
        this.itemCode = itemCode;
        return this;
    }
}